<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
<title></title>
{include file="common/pub_style" /}
<style type="text/css">
.tips {
	color: #6046ff;
	font-weight: 600
}
</style>
<script type="text/javascript">
	$(document).ready(function() {
	    {notempty name="member.frozen_remark"}
        var layer1 = layer.open({
            title: "",
            content: "{$member.frozen_remark}",
            btn:["{$Think.lang.btn_close}"],
            btn2: function(index, layero){
                
            }
        })
        {/notempty}
		isformnull();
		var fee = "{$fee}";
		$(".login-btn").click(function() {
			if (getformnull() == 0) {
				$("#loadingToast").show();
				$.ajax({
					type : 'post',
					url : "",
					dataType : "json",
					data : $("form").serialize(),
					success : function(res) {
						layer.msg(res.msg);
						if (res.code == 99) {
							$("form").get(0).reset();
							window.location.href = "{:url('User/index')}";
						}
						$("#loadingToast").hide();
					}
				});
			}
		})
		$("input[name='money']").blur(function(){
			 $(".fee").html($(this).val() * fee);
		})
	})
</script>
</head>
<body>
	<div class="header-wrap">
		<div class="flex flex-between pd10">
			<div class="left-arrow" onclick='javascript:window.location.href="{:url('User/index')}"'></div>
			<div class="">{$Think.lang.label_member_transfer}</div>
			<div class="">
				<!--<a href="{:url('recode')}">{$Think.lang.recode}</a>-->
			</div>
		</div>
	</div>
	<div style="height: 50px"></div>
	<div class=" pd20">
		<form id="login-form" class="form-horizontal" action="" method="post">
			<div class="form-row flex align-center">
				<div class="title label-md">{$Think.lang.balance}:</div>
				<div class="input-box">{$member.money} tether(USDT)</div>
			</div>
			<div class="form-row flex align-center">
				<div class="title label-md">{$Think.lang.account}:</div>
				<div class="input-box">
					<input type="text" class="form-control username" name="username" placeholder="{$Think.lang.lest_vip1}" autocomplete="off">
				</div>
			</div>
			<div class="form-row flex align-center">
				<div class="title label-md">{$Think.lang.amount}:</div>
				<div class="input-box">
					<input type="number" oninput="$('#shouxufei').text((this.value*0.01).toFixed(2))" name="money" class="form-control money" placeholder="{$Think.lang.input_transfer_amount_tips}" autocomplete="off">
				</div>
			</div>
			<div class="form-row flex align-center  justify-center">
				<div class="title label-md">{$Think.lang.fee}:</div>
				<div class="input-box fee">
					0
				</div>
				<div class="">USDT</div>
			</div>
			<div class="form-row">
				<button type="button" class="input-btn btnform btn-disabled login-btn undefined">
					<span class="btn-content">
						<span>{$Think.lang.oneclicktransfer}</span>
					</span>
				</button>
			</div>
				<span>{$Think.lang.neibu}</span>
			<label for="firstname" class="control-label" style="color: red"></label>
		
		</form>
	</div>
	{include file="common/footer" /}
</body>
</html>